package Test;

public class FlyTest {

	public static void main(String[] args) {
		Flight a = new Bat("蝙蝠");
		Flight b = new Bird("愤怒的小鸟");
		Flight c = new Airplane("飞机");
		Flight d = new Kite("风筝");
		a.fly();
		System.out.println(">>>>>>>>>>>>>>>>>>");
		b.fly();
		System.out.println(">>>>>>>>>>>>>>>>>>");
		c.fly();
		System.out.println(">>>>>>>>>>>>>>>>>>");
		d.fly();
	}

}
